package com.atl.enity.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 系统日志
 * </p>
 *
 * @author 
 * @since 2024-06-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("log_admin_agent")
@ApiModel(value="LogAdminAgent对象", description="系统日志")
public class LogAdminAgent implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "请求地址")
    private String requestUrl;

    @ApiModelProperty(value = "请求方式")
    private String requestWay;

    @ApiModelProperty(value = "IP")
    private String ip;

    @ApiModelProperty(value = "方法地址")
    private String methodUrl;

    @ApiModelProperty(value = "方法别名")
    private String methodName;

    @ApiModelProperty(value = "请求参数")
    private String requestParam;

    @ApiModelProperty(value = "返回参数")
    private String returnParam;

    @ApiModelProperty(value = "耗时")
    private String time;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "操作人id")
    private Long operatorId;

    @ApiModelProperty(value = "1,admin，2，agent")
    private Integer operatorPlatform;

    @ApiModelProperty(value = "登录设备")
    private String loginFacility;


}
